package com.li.controller.system;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description：
 * @Author：LiDong
 * @Create：2021/4/7
 * @Version：1.0.0
 */
@Controller
@RequestMapping("/index")
public class IndexController {

    @RequestMapping("/home")
    public String index(){
        return "index";
    }

    @RequestMapping("/{path}")
    public String path(@PathVariable(value = "path") String path){
        return path;
    }

}
